package cn.edu.zafu.bigdata.x.XuShuXinPR;

public class XsxImp {
    public static void main(String[] args) {
        XsxCourse course = new XsxCourse("001","Java",3.0);
        System.out.println("课程id：" + course.getCourseID() + "\n课程名称：" + course.getCourseName() + "\n学分：" + course.getCredit());

        XsxCourse course2 = new XsxCourse();
        course2.setCourseID("002");
        course2.setCourseName("C语言");
        course2.setCredit(2.5);
        System.out.println("课程id：" + course2.getCourseID() + "\n课程名称：" + course2.getCourseName() + "\n学分：" + course2.getCredit());
    }
}
